package org.yankun.exam4j.core.answer.service;

import java.io.Serializable;
import java.util.List;

import org.yankun.exam4j.entity.Answer;

public interface AnswerService {
	
	public Answer getAnswerByAnswerId(Serializable answerId);
	
	public List<Answer> getAnswersByResultIdAndQuestionId(Serializable resultId,Serializable questionId);
	
	public void update(Answer answer);
	
	public void delete(Answer answer);
	
	public void save(Answer answer);
	
	public void deleteAnswerByResultIdAndQuestionId(Serializable resultId,Serializable questionId);
	
}
